<?php
namespace app\common\model;
class EmailLog  extends Base
{
   public function delAll(){
    $sql = 'TRUNCATE `'.config('database.prefix')."mail_log".'`';
     if($this->query($sql)){
       return true;
     }else{
       return false;
     }
   }
}
